package com.fas.app.yifeng;

import android.content.Intent;
import android.graphics.Color;
import android.view.View;

import com.fas.app.FreshActivity;

public class LarvaActivity2 extends FreshActivity {

	@Override
	protected void initialPageviews() {
		setThisTitle("已知幼虫期主要病害，请根据下面的症状描述判断选择");
		addText("发病幼虫有臭味", 20.f, Color.BLACK);
		addText("发病幼虫无臭味", 20.f, Color.BLACK);

	}

	@Override
	public void onClick(View v) {
		Intent intent = null;
		if (getSelectID() == 0) {
			intent = new Intent(this, LarvaStinkActivity2.class);
			startActivity(intent);
		} else if (getSelectID() == 1) {
			intent = new Intent(this, LarvaTastelessActivity2.class);
			startActivity(intent);
		}
	}

}
